package com.ruoyi.framework.shiro.util.secret;

/**
 * @author ：liuyunlu
 * @date ：Created in 2022/4/20 17:52
 * @description：
 */
/**
 * 密钥对保存类，保存一对String类型的密钥（公钥、私钥）
 * @Author duwei
 * @Version 2021/1/15
 */
public class KeyPairOfString {
    /**公钥*/
    private String publicKey;
    /**私钥*/
    private String privateKey;

    public KeyPairOfString(String publicKey,String  privateKey){

        this.publicKey = publicKey;
        this.privateKey = privateKey;

    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }
}